package com.jyx.learning.client;

import com.jyx.framework.clinet.JyxServiceList;
import com.jyx.framework.domain.course.TeachplanMediaPub;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = JyxServiceList.JYX_SERVICE_SEARCH)
public interface CourseSearchClient {

    @GetMapping("/search/course/getmedia/{teachplanId}")
    TeachplanMediaPub getMedia(@PathVariable("teachplanId")String teachplanId);
}
